/**
 *Copyright (c) 2024 watereyes
 * workflow is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.workflow.applicationManag.bean;

import com.koron.workflow.common.bean.BaseBean;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class WhiteListBean extends BaseBean {
    // 应用ID
    @NotNull(message = "应用ID不能为空")
    @Size(max = 50, message = "应用ID最多能输入50个字符")
    private String appId;
    // 服务器名称
    @NotNull(message = "服务器名称不能为空")
    @Size(max = 50, message = "服务器名称最多能输入50个字符")
    private String servername;
    // 服务器MAC地址
    @NotNull(message = "服务器MAC地址不能为空")
    @Size(max = 50, message = "服务器MAC地址最多能输入50个字符")
    private String serverMAC;
    // ip地址
    @NotNull(message = "ip地址不能为空")
    @Size(max = 50, message = "ip地址最多能输入50个字符")
    private String serverIP;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appid) {
        this.appId = appid;
    }

    public String getServername() {
        return servername;
    }

    public void setServername(String servername) {
        this.servername = servername;
    }

    public String getServerMAC() {
        return serverMAC;
    }

    public void setServerMAC(String serverMAC) {
        this.serverMAC = serverMAC;
    }

    public String getServerIP() {
        return serverIP;
    }

    public void setServerIP(String serverIP) {
        this.serverIP = serverIP;
    }
}
